package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录-设置参数
 * </p>
 *
 * @author zyl
 * @since 2019-03-25
 */
public class ParameterSettings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("mlogId")
    private String mlogId;
    /**
     * 开始设置参数时间
     */
    private Date startSetParametersTime;
    /**
     * 单程采量
     */
    private Integer singlewayCollectQuantityMv;
    /**
     * 总采j集量
     */
    private Integer totalCollectQuantityMv;
    /**
     * 补盐水量
     */
    private Integer compensatingSalineQuantityMv;
    /**
     * 袖带压力
     */
    private Integer xdPressureMv;
    /**
     * 总量差值
     */
    private Integer totalQuantityDifferenceMv;
    /**
     * 采血速度
     */
    private Integer bloodCollectionSpeed;
    /**
     * 还输速度
     */
    private Integer hsSpeed;
    /**
     * 结束设置参数时间
     */
    private Date endSetParametersTime;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartSetParametersTime() {
        return startSetParametersTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartSetParametersTime(Date startSetParametersTime) {
        this.startSetParametersTime = startSetParametersTime;
    }

    public Integer getSinglewayCollectQuantityMv() {
        return singlewayCollectQuantityMv;
    }

    public void setSinglewayCollectQuantityMv(Integer singlewayCollectQuantityMv) {
        this.singlewayCollectQuantityMv = singlewayCollectQuantityMv;
    }

    public Integer getTotalCollectQuantityMv() {
        return totalCollectQuantityMv;
    }

    public void setTotalCollectQuantityMv(Integer totalCollectQuantityMv) {
        this.totalCollectQuantityMv = totalCollectQuantityMv;
    }

    public Integer getCompensatingSalineQuantityMv() {
        return compensatingSalineQuantityMv;
    }

    public void setCompensatingSalineQuantityMv(Integer compensatingSalineQuantityMv) {
        this.compensatingSalineQuantityMv = compensatingSalineQuantityMv;
    }

    public Integer getXdPressureMv() {
        return xdPressureMv;
    }

    public void setXdPressureMv(Integer xdPressureMv) {
        this.xdPressureMv = xdPressureMv;
    }

    public Integer getTotalQuantityDifferenceMv() {
        return totalQuantityDifferenceMv;
    }

    public void setTotalQuantityDifferenceMv(Integer totalQuantityDifferenceMv) {
        this.totalQuantityDifferenceMv = totalQuantityDifferenceMv;
    }

    public Integer getBloodCollectionSpeed() {
        return bloodCollectionSpeed;
    }

    public void setBloodCollectionSpeed(Integer bloodCollectionSpeed) {
        this.bloodCollectionSpeed = bloodCollectionSpeed;
    }

    public Integer getHsSpeed() {
        return hsSpeed;
    }

    public void setHsSpeed(Integer hsSpeed) {
        this.hsSpeed = hsSpeed;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getEndSetParametersTime() {
        return endSetParametersTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setEndSetParametersTime(Date endSetParametersTime) {
        this.endSetParametersTime = endSetParametersTime;
    }

    @Override
    public String toString() {
        return "ParameterSettings{" +
        "mlogId=" + mlogId +
        ", startSetParametersTime=" + startSetParametersTime +
        ", singlewayCollectQuantityMv=" + singlewayCollectQuantityMv +
        ", totalCollectQuantityMv=" + totalCollectQuantityMv +
        ", compensatingSalineQuantityMv=" + compensatingSalineQuantityMv +
        ", xdPressureMv=" + xdPressureMv +
        ", totalQuantityDifferenceMv=" + totalQuantityDifferenceMv +
        ", bloodCollectionSpeed=" + bloodCollectionSpeed +
        ", hsSpeed=" + hsSpeed +
        ", endSetParametersTime=" + endSetParametersTime +
        "}";
    }
}
